package yj.study;

import java.util.HashMap;
import java.util.Iterator;

public class hash {
	public static void main(String[] args){
		HashMap<String,String> hm = new HashMap<String,String>();
		hm.put("yang", "yang is 001");
		hm.put("juan", "juan is 002");
		System.out.println(hm.get("yang"));
		System.out.println(hm.get("juan"));	
		Iterator<String> iterator = hm.keySet().iterator();
		while (iterator.hasNext()) hm.get(iterator.next());
	}
}
